package com.egao.common.module.cooperative.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.egao.common.core.web.PageParam;
import com.egao.common.module.cooperative.entity.CooperativeProjectActivity;
import com.egao.common.module.cooperative.entity.vo.CooperativeProjectActivityListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * mapper
 * @author root
 */
public interface CooperativeProjectActivityMapper extends BaseMapper<CooperativeProjectActivity> {

    /**
     * 查询项目活动集合
     * @param page
     * @return
     */
    List<CooperativeProjectActivityListVO> listPage(@Param("page") PageParam<CooperativeProjectActivity> page);

    /**
     * 查询公开活动
     * @param page
     * @return
     */
    List<CooperativeProjectActivityListVO> listPagePublicity(@Param("page") PageParam<CooperativeProjectActivity> page);
}
